//
//  PasswordViewController.m
//  基本框架
//
//  Created by runone02 on 2018/8/23.
//  Copyright © 2018年 liqiyun. All rights reserved.
//

#import "PasswordViewController.h"
#import "LrdPasswordAlertView.h"
@interface PasswordViewController ()

@end

@implementation PasswordViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupNavView];
    [self loadPassWordView];
}

- (void)setupNavView{
    [self.navView.leftButton setTitle:@"返回" forState:UIControlStateNormal];
    [self.navView.centerButton setTitle:@"输入密码" forState:UIControlStateNormal];
}

- (void)loadPassWordView{
    LrdPasswordAlertView *testView = [[LrdPasswordAlertView alloc] initWithFrame:self.view.bounds];
    testView.titleName = @"输入密码";
    testView.fontSize = 15.f;
    testView.block = ^(NSString *text){
        NSLog(@"调用了block");
    };
    [testView pop];
}
@end
